{% extends "base.html" %}

{% block title %}Edit Blog Post{% endblock %}

{% block content %}
	<div class="row">
		<div class="span8 offset4">
			<form action="/blogs/{{society.slug}}/create" method="post">
			<fieldset>
			<legend>Edit Blog Post</legend>
			{% for field in form %}
				<div class="clearfix">
						<label for="{{field.name}}">{{field.label}}</label>
						<div class="input">
							{{field}}
							<span class="help-inline">{{field.errors}}</span>
						</div>
					</div>
			{% endfor %}
				<div class="clearfix">
					<div class="input">
						<input type="submit" class="btn primary" value="Save" />
					</div>
				</div>
			</fieldset>
			</form>
		</div>
	</div>
{% endblock %}